package com.dykj.fireFighting.server.monitoringCenter.mapper;



import com.dykj.fireFighting.api.monitoringCenter.entity.InstructionRecord;
import com.dykj.fireFighting.common.core.mapper.SuperMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description 指令执行记录
 * @Author aixiaolan
 * @Date  2021-07-06 14:34:27
 */
public interface InstructionRecordMapper extends SuperMapper<InstructionRecord> {

    @Select("  SELECT id FROM t_sys_user WHERE t_sys_user.enterprise_id = #{unitId} and t_sys_user.is_del=1")
    List<String > getUserByUnitId(@Param("unitId") String unitId);

	
}
